#include <stdio.h>

int main()
{

    printf("菜鸟教程");
    FILE *fp = NULL;

    fp = fopen("/Users/xuyang/workface/demo/package-lock.json", "w+");
    fprintf(fp, "This is testing for fprintf...\n");
    fputs("This is testing for fputs...\n", fp);
    fclose(fp);
    return 0;
}